package com.hqyj.service;

import com.hqyj.pojo.TbDevice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 * 设备表 服务类
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
public interface TbDeviceService{
    //查询
    HashMap<String,Object> list(TbDevice tbDevice);

    //添加
    HashMap<String,Object> insert(TbDevice tbDevice);

    //修改
    HashMap<String,Object> update(TbDevice tbDevice);

    //删除
    HashMap<String,Object> delete(Integer id);

    //按设备名称查询
    HashMap<String,Object> queryByName(String name);
}
